﻿package com.element 
{
	import com.element.icon.IconField;
	import com.element.icon.IconHouse1;
	import com.element.icon.IconHouse2;
	import com.element.icon.IconRoad;
	import flash.display.Sprite;
	import com.element.icon.IconShop;
	
	/**
	 * ...
	 * @author zhengzihua
	 */
	public class BottomBar extends Sprite
	{
		private var road:IconRoad;
		private var house1:Icon;
		private var house2:Icon;
		private var field:Icon;
		private var shop:IconShop;
		public function BottomBar() 
		{
			init();
		}
		/**
		 * 布局bottomBar
		 */
		private function init():void {
			road = new IconRoad();
			house1 = new IconHouse1();
			house2 = new IconHouse2();
			field = new IconField();
			shop = new IconShop();
			addChild(road);
			addChild(house1);
			addChild(house2);
			addChild(field);
			addChild(shop);
			road.x = 50;
			house1.x = 100;
			house2.x = 150;
			field.x=200
			shop.x =250;
		}
	}
	
}